import request from '@/utils/request'

// 查询详情
export function getListInfo(query) {
  return request({
    url: '/car/carIndex/getListInfo',
    method: 'get',
    params:query
  })
}


// 新增

export function addCarIndex(data) {
  return request({
    url: '/car/carIndex',
    method: 'post',
    data: data
  })
}

// 列表信息
export function getDataList(query) {
    return request({
      url: '/car/carIndex/list',
      method: 'get',
      params: query
    })
  }

// /car/carIndex/list